package mk.jug.academy.testing.factory;

import java.util.UUID;

import mk.jug.academy.model.Event;


/**
 * Factory for creating {@link Event} test instances.
 *
 * @author Ice.Penov
 */
public class EventTestFactory {
	
	/** No instantiation. Static usage only */
	private EventTestFactory() {;}
	
	/** Creates a random {@link Event} instance, for testing purposes */	
	public static Event createEvent() {
		Event event = new Event();
		event.setMessage("message" + UUID.randomUUID());
		event.setMessageCode("code." + UUID.randomUUID());
		return event;
	}

}